﻿using System;

namespace Stock.Model
{
    public class AppUpdateModel
    {
        public string Name { get; set; }

        public Version Version { get; set; }

        public string DownloadUrl { get; set; }

        public string LastUpdateTime { get; set; }

        public string Content { get; set; }

        public bool HasVersion()
        {
            return Version != null && !string.IsNullOrEmpty(DownloadUrl);
        }
    }
}
